package com.mvc.model.notice;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

import org.hibernate.annotations.DynamicInsert;
import org.hibernate.annotations.DynamicUpdate;

import com.mvc.model.base.IdEntity;
@Entity
@Table(name="notice")
@DynamicInsert(true)
@DynamicUpdate(true)
public class Tnotice extends IdEntity implements Serializable {
	
	private String title;
	private String content;
	private String picture;
	private Date date;
	private String url;
	private String noticeType;
	private String author;
	
	public String getTitle() {
		return title;
	}
	public String getContent() {
		return content;
	}
	public String getPicture() {
		return picture;
	}
	public Date getDate() {
		return date;
	}
	public String getUrl() {
		return url;
	}
	public String getNoticeType() {
		return noticeType;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public void setPicture(String picture) {
		this.picture = picture;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public void setNoticeType(String noticeType) {
		this.noticeType = noticeType;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	
}
